<%-- 
    Document   : CadastroProjeto
    Created on : 30/11/2011, 16:18:27
    Author     : Kawe Ramon
--%>

<%@page import="br.com.ufpb.halloc.negocio.Projeto" %>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
        
        <style type="text/css">
            div#back {
                background-color: lightsteelblue;
                height: auto;
                margin-top: 0px;
                margin-left: 290px;
                margin-right: 320px;
            }
            div#form {
                background-color: #DDD;
                font: 14px Verdana, sans-serif;
                height: 200px;
                margin-top: 5px;
                border: 1px solid #696969;
                margin-left: 100px;
                margin-right: 100px;
            }
            
            div#campos, div#form {
                color: #333;
            }
                
            #tab_customizada
            {
                font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
                width:100%;
                border-collapse:collapse;
            }
            #tab_customizada td, #tab_customizada th 
            {
                font: 14px Verdana, sans-serif;
                border:2px solid #98bf21;
                padding:3px 7px 2px 7px;
                color: #000000;
            }
            #tab_customizada th 
            {
                font: 16px Verdana, sans-serif;
                text-align:center;
                padding-top:5px;
                padding-bottom:4px;
                background-color:#369;
                color:#fff;
            }
            #tab_customizada tr.alt td 
            {
                color:#000000;
                background-color: #EAF2D3;
            }

        </style>
        
        
    </head>
        
    <body>
        <jsp:include page="menubarra.jsp"></jsp:include>
        <h1 align="center" class="style2">Cadastro Projeto</h1>
        <div align="center" id="back">
            ${mensagem}
            <form method="post" action="CadastroProjeto.do">
                <div id="form">
                    <div id="tab_inputs">
                        <table width="600" align="center" border="0">
                            <tr>
                                <td>Nome</td>
                                <td><input class="inome" name="nome_projeto" value="${projeto.nome}"></input></td>
                            </tr>
                            <tr>
                                <td>Descrição</td>
                                <td><input name="descricao_projeto" type="text" size="40" value="${projeto.descricao}"></input></td>
                            </tr>
                            <tr>
                                <td>Matrícula do Professor</td>
                                <td><input name="matprofessor_projeto" type="text" size="10" value="${projeto.matriculaProfessor}"></input></td>
                            </tr>
                            <tr>
                                <td>Código</td>
                                <td><input name="codprojeto_projeto" type="text" size="10" value="${projeto.id}"></input></td>
                            </tr>
                            <tr>
                                <td colspan="2" align="center"><input type="submit" value="Cadastrar"></input></td>
                            </tr>
                        </table>
                    </div>
                </div>
                
                
                
                
            </form>
                    
        </div>
                 
    </body>    
</html>
